import * as React from 'react'
import { Link } from 'react-router-dom'
import style from './style.module.less'
import logo_big from '../../assets/imgs/logo_big.png'

function Home(){
    return (
      <div className={style.homeMain}>
        <img className={style.logo_big} src={logo_big} alt=""/>
        <h1 className={style.title}>时间胶囊</h1>
        <div className={style.action}>
          <Link className={style.put} to="/put">
            <span>Put</span>添加
          </Link>
          <Link className={style.open} to="/open">
            <span>Open</span>打开
          </Link>
        </div>
      </div>
    )
}
export default Home
